package cn.kgc.mapper;

import cn.kgc.bean.pojo.CCase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CaseMapper extends BaseMapper<CCase> {

    CCase getCaseByid(Integer id);

    CCase getAllInfo(@Param("courtId")Integer courtId);

    List<CCase> getAllByCourt();

    int addCaseInfo(CCase cCase);

    int updateStatus1(Integer id);

    int updateStatus2(Integer id);
}
